package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 辖区对象 jurisdiction
 * 
 * @author ruoyi
 * @date 2021-03-04
 */
public class Jurisdiction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 辖区名称 */
    @Excel(name = "辖区名称")
    private String jurisdictionName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

    /** 联系号码 */
    @Excel(name = "联系号码")
    private String phone;

    /** 最小图片个数 */
    @Excel(name = "最小图片个数")
    private Integer uploadImageMin;
    /** 城市 */
    @Excel(name = "城市")
    private Long cityId;

    private List<JurisdictionScope> jurisdictionScopeList;

    public List<JurisdictionScope> getJurisdictionScopeList() {
        return jurisdictionScopeList;
    }

    public void setJurisdictionScopeList(List<JurisdictionScope> jurisdictionScopeList) {
        this.jurisdictionScopeList = jurisdictionScopeList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setJurisdictionName(String jurisdictionName) 
    {
        this.jurisdictionName = jurisdictionName;
    }

    public String getJurisdictionName() 
    {
        return jurisdictionName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public Integer getUploadImageMin() {
        return uploadImageMin;
    }

    public void setUploadImageMin(Integer uploadImageMin) {
        this.uploadImageMin = uploadImageMin;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("jurisdictionName", getJurisdictionName())
            .append("name", getName())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .toString();
    }
}
